package com.cn.Api.inter;

import com.cn.Api.fallback.Fallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-route",fallback = Fallback.class)
public interface TestService {
    @RequestMapping(value = "/client/client/hi",method = RequestMethod.GET)
    String clientHi(@RequestParam(value = "name") String name);
    @RequestMapping(value = "/waChat/waChat/register",method = RequestMethod.GET)
    String weChatRegister(@RequestParam(value = "name") String name);
}
